/*
 * Client.h
 *
 *  Created on: 24 mars 2012
 *      Author: houcine
 */

#ifndef CLIENT_H_
#define CLIENT_H_
#include<string>
#include<iostream>
#include<fstream>

namespace std {

class Client {
private:
	long numClient;
	long numPermis;
	string nomClient;
	string prenomClient;
	string adresse;
	string ville;
	long telephone;

public:
	Client();
	Client(long,string,string,long,string,string,long);
	virtual ~Client();
	void afficher();
	string getAdresse() const;
	void setAdresse(string adresse);
	string getNomClient() const;
	void setNomClient(string nomClient);
	long getNumClient() const;
	void setNumClient(long numClient);
	long getNumPermis() const;
	void setNumPermis(long numPermis);
	string getPrenomClient() const;
	void setPrenomClient(string prenomClient);
	long getTelephone() const;
	void setTelephone(long telephone);
	string getVille() const;
	void setVille(string ville);
	friend ofstream& operator<<(ofstream& ,const Client&);
	friend ifstream& operator>>(ifstream& ,Client&);
};
ofstream& operator<<(ofstream& ,const Client&);
ifstream& operator>>(ifstream& ,Client&);

} /* namespace std */
#endif /* CLIENT_H_ */
